package com.yanfan.energy.domain;


import java.io.Serializable;
import java.util.ArrayList;

/**
 * @Author: yanxu
 * @Date: 10/26/22 7:37 PM
 * @Version 1.0
 */

public class PurchaseChartDto implements Serializable {

    /**
     * 能源采购累计金额
     * 万元
     */
    private Double countPrice;

    /**
     * 能源采购平均价格
     * 万元
     */
    private Double price;

    /**
     * 同比
     */
    private Double alikeCompare;

    /**
     * 环比
     */
    private Double annulusCompare;


    /**
     * 每个月采购金额
     */
    private ArrayList<Double> purchaseMoney;

    public PurchaseChartDto(Double countPrice, Double price, Double alikeCompare, Double annulusCompare, ArrayList<Double> purchaseMoney) {
        this.countPrice = countPrice;
        this.price = price;
        this.alikeCompare = alikeCompare;
        this.annulusCompare = annulusCompare;
        this.purchaseMoney = purchaseMoney;
    }

    public PurchaseChartDto() {
    }

    public Double getCountPrice() {
        return countPrice;
    }

    public void setCountPrice(Double countPrice) {
        this.countPrice = countPrice;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getAlikeCompare() {
        return alikeCompare;
    }

    public void setAlikeCompare(Double alikeCompare) {
        this.alikeCompare = alikeCompare;
    }

    public Double getAnnulusCompare() {
        return annulusCompare;
    }

    public void setAnnulusCompare(Double annulusCompare) {
        this.annulusCompare = annulusCompare;
    }

    public ArrayList<Double> getPurchaseMoney() {
        return purchaseMoney;
    }

    public void setPurchaseMoney(ArrayList<Double> purchaseMoney) {
        this.purchaseMoney = purchaseMoney;
    }

    @Override
    public String toString() {
        return "PurchaseChartDto{" + "countPrice=" + countPrice + ", price=" + price + ", alikeCompare=" + alikeCompare + ", annulusCompare=" + annulusCompare + ", purchaseMoney=" + purchaseMoney + '}';
    }
}
